package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.ppl.PplUserData;
import com.yanqu.road.logic.bussiness.DaoHelper;

/**
 * 泡泡龙bussiness
 */
public class PplBussiness {

    public static PplUserData getPplUserData(long userId, int activityId) {
        return DaoHelper.getPplUserDataDaoImpl().getPplUserData(userId, activityId);
    }

    public static boolean addPplUserData(PplUserData pplUserData) {
        return DaoHelper.getPplUserDataDaoImpl().add(pplUserData);
    }

    public static boolean updatePplUserData(PplUserData pplUserData) {
        return DaoHelper.getPplUserDataDaoImpl().update(pplUserData);
    }

}
